using System;
using System.Text;
using System.Collections.Generic;


namespace Mengsk.ProxyDelivery.Domain
{
    public class Vendor : ICloneable
    {
        public virtual int Id { get; set; }
        public virtual string Name { get; set; }

        public virtual string PingyingName { get; set; }

        public virtual string Phone { get; set; }
        public virtual VendorType Type { get; set; }
        public virtual string QQ { get; set; }
        public virtual string MarketAddress { get; set; }
        public virtual string Address { get; set; }
        public virtual string HomePage { get; set; }
        public virtual DateTime CreateTime { get; set; }
        public virtual int LevelValue { get; set; }
        public virtual bool Enabled { get; set; }
        public virtual int Spider { get; set; }

        public override string ToString()
        {
            return string.Format("{0}  {1}", this.Name, this.HomePage);
        }

        public object Clone()
        {
            return base.MemberwiseClone();
        }
    }
}
